package cn.zhj.mvpart.http

import android.app.Application
import com.google.gson.Gson
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory

object HttpUtils {


    fun provideRetrofit(app:Application , builder: Retrofit.Builder , baseUrl: String){
        builder.baseUrl(baseUrl)
            .addConverterFactory(GsonConverterFactory.create())
            .build()
    }
}